package com.book.book.service;

import com.book.book.domain.QueueDO;

import java.util.List;
import java.util.Map;

/**
 * 图书漂流队列表
 * 
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-03-20 15:56:19
 */
public interface QueueService {
	
	QueueDO get(Integer id);
	
	List<QueueDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(QueueDO queue);
	
	int update(QueueDO queue);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<QueueDO> getQueueItem(String userId,String bookName);
}
